#pragma once
#include <cocos2d.h>
#include "pugixml.hpp"

using namespace pugi;
USING_NS_CC;

class PlayerPlane;
class MainLayer;

class ItemProcessor : public CCObject
{
public:
	ItemProcessor(void);
	~ItemProcessor(void);

	virtual bool init();
	virtual void process(PlayerPlane* plane, MainLayer* mainLayer);
	virtual void parseXml(xml_node node);

	CC_SYNTHESIZE_RETAIN(CCString*, _id, Id);
};

